package aufgabe2;

/**
 * Admin is kind of a super-user who is setup in the ACL to be allowed to do
 * nearly everything
 * 
 * @author Lukas Koell
 * @author David Medenjak
 * @author Johannes Riedmann
 */
public class Admin extends User {
    private static final long serialVersionUID = 1L;

    /** social insurance number **/
    private int svNr;

    public Admin(int svNr) {
        super();
        this.svNr = svNr;
    }

    @Override
    public int getId() {
        return svNr;
    }

    public String toString() {
        return getName();
    }

}
